<!DOCTYPE html>
<html>
<head>
    <title>设备PM完成率统计</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div>
        <Row :gutter="16" style="margin: 8px 0px 0px 1px">
            <div class="search-group">
                <i-col span="3">
                    <Cascader :data="deviceOrganizationList" v-model="deptCodeArray" change-on-select placeholder="默认显示工厂KPI总览" @on-change="changeDeviceOrganization"></Cascader>
                </i-col>
                <i-col span="4">
                    <i-select placeholder="请选择查看月份" v-model="q.statMonthlyNum">
                        <i-option value="3">近三个月</i-option>
                        <i-option value="6">近半年</i-option>
                        <i-option value="12">近一年</i-option>
                        <i-option value="24">近两年</i-option>
                    </i-select>
                </i-col>
                <i-col span="4">
                    <i-select v-model="q.ticketType" placeholder="工单类别，默认显示全部">
                        <i-option v-for="ticketType in ticketTypeList" :value="ticketType.value" :key="ticketType.value">{{ticketType.name}}
                        </i-option>
                    </i-select>
                </i-col>
                <i-button @click="search">查询</i-button>
                <i-button @click="reset">重置</i-button>
            </div>
        </Row>
        <Row :gutter="16" style="padding: 5px 20px 10px 20px" class="code-row-bg">
            <Card>
                <!-- 报表区域 -->
                <div id="devPmTicketNumDistributionEcharts" style="height: 70vh;width:95%;"></div>
            </Card>
        </Row>
        <Row :gutter="16" style="padding: 0px 20px 10px 20px" class="code-row-bg">
            <Card>
                <div>
                    <table id="jqGrid"></table>
                </div>
            </Card>

        </Row>
    </div>
</div>
<script src="${rc.contextPath}/statics/plugins/echarts/echarts.min.js"></script>
<script src="${rc.contextPath}/js/analyse/devPmCompleteRateStatChart.js?_${date.systemTime}"></script>
</body>
</html>
